﻿using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoinModels.Cryptsy
{
    [JsonObject]
    public class CryptsyWrapper
    {
        [JsonProperty(Required = Required.Always)]
        public bool success { get; set; }

        [JsonProperty(PropertyName = "return", Required = Required.Always)]
        public ReturnWrapper returnObject { get; set; }
    }

    [JsonObject]
    public class ReturnWrapper
    {
        [JsonProperty(Required = Required.Always)]
        //public MarketWrapper markets { get; set; }
        public JObject markets { get; set; }
    }
}
